package net.learn.system.convert;

import net.learn.system.entity.SysMyExamEntity;
import net.learn.system.entity.SysMyPaperEntity;
import net.learn.system.vo.SysMyExamVO;
import net.learn.system.vo.SysMyPaperVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysMyExamConvert {
    SysMyExamConvert INSTANCE = Mappers.getMapper(SysMyExamConvert.class);

    SysMyExamVO convert(SysMyExamEntity entity);

    SysMyExamEntity convert(SysMyExamVO vo);

    List<SysMyExamVO> convertList(List<SysMyExamEntity> list);

}
